import $ from 'jquery'
$(function () { 
    $('.x-warp3').css({
        top:'20px',
        opacity:0,
    })
    let time
    $(window).scroll(function(){
        if(time)return
        time =  setTimeout(() => {
            time = null
        }, 50);
        let top = $(document).scrollTop();
        if(top>2320){
            $('.x-warp3').stop().animate({
                opacity:1,
                top:'-20px'
            },400)
        }else{
            $('.x-warp3').stop().animate({
                opacity:0,
                top:'20px'
            },400)
        }
      })
  
  

 })